package com.zeng.jiudian.service;

import com.zeng.jiudian.bean.OnlineModel;

import java.util.List;
import java.util.Map;

/**
 * @Author JJ_yo
 * @Date 2020/7/30 - 17:46
 */
public interface OnlineService
{
    public int add(OnlineModel onlineModel);

    public Map<String, List<OnlineModel>> findAll(OnlineModel onlineModel);

    public int getCount(OnlineModel onlineModel);

    public int delete(int id);

    public OnlineModel findById(int id);

    public int update(OnlineModel onlineModel);
}
